TimeCode.fromJson constructor Null safety

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

Implementation

factory TimeCode.fromJson(Map<String, dynamic> json) => TimeCode(
      title: json['title'] as String,
      startTime: json['startTime'] as String,
      endTime: json['endTime'] as String,
    );