Warning.fromMap constructor

Warning.fromMap(
  1. Map map
)

Implementation

Warning.fromMap(Map<dynamic, dynamic> map) {
  id = map['id'] as String;
  pubTime = map['pubTime'] as String;
  title = map['title'] as String;
  sender = map['sender'] as String;
  startTime = map['startTime'] as String;
  endTime = map['endTime'] as String;
  status = map['status'] as String;
  level = map['level'] as String;
  type = map['type'] as String;
  typeName = map['typeName'] as String;
  text = map['text'] as String;
  related = map['related'] as String;
}