dateTimeUtc property

bool? dateTimeUtc
final

Whether the generator should use UTC time for DateTime fields.

If true, all DateTime fields are written to JSON in UTC using DateTime.toUtc().toIso8601String(). If false (the default), DateTime.toIso8601String() is used.

Implementation

final bool? dateTimeUtc;