Notify.fromMap constructor

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

Implementation

factory Notify.fromMap(Map<String, dynamic>? map) {
  if (map == null) return Notify();

  return Notify(
      time: map['time'], atSign: map['atSign'], message: map['message']);
}