HealthTime.fromMap constructor

HealthTime.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory HealthTime.fromMap(Map<String, dynamic> map) {
  return HealthTime(
    remoteTime: map['remoteTime'],
    localTime: map['localTime'],
    diff: map['diff'],
  );
}