method Duration.fromHours Duration.fromHours(hours: number): Duration Creates a Duration from hours. Parameters hours: number Return Type Duration