EventInfo.fromMap constructor
Implementation
factory EventInfo.fromMap(Map<String, dynamic> json) {
return EventInfo(
abstractInfo: json['abstractInfo'],
beginTime: json['beginTime'] == null
? null
: EventTime.fromMap(json['beginTime']),
closeTime: json['closeTime'] == null
? null
: EventTime.fromMap(json['closeTime']),
condition: json['condition'],
placeInfo: json['placeInfo'],
sponsor: json['sponsor'],
theme: json['theme'],
);
}