TimeSpan.fromJson constructor

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

Implementation

factory TimeSpan.fromJson(Map<String, dynamic> json) {
  return TimeSpan(
    duration: json['Duration'] as String?,
    startTime: json['StartTime'] as String?,
  );
}