Timer.fromJson constructor

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

Implementation

factory Timer.fromJson(Map<String, dynamic> json) {
  return Timer(
    name: json['name'] as String,
    timestamp: nonNullableTimeStampFromJson(json['timestamp'] as Object),
  );
}