EventTimeInterval.fromJson constructor

EventTimeInterval.fromJson(
  1. Map<String, dynamic> json
)

Implementation

EventTimeInterval.fromJson(Map<String, dynamic> json)
  : begin = DateTime.fromMicrosecondsSinceEpoch(json['begin'] as int),
    end = DateTime.fromMicrosecondsSinceEpoch(json['end'] as int);