PresentModel.fromJson constructor

PresentModel.fromJson(
  1. dynamic json
)

Implementation

factory PresentModel.fromJson(dynamic json) => PresentModel(
      presenceMode: _getPresenceMode(json["presenceMode"] ?? ''),
      presenceType: _getPresenceType(json["presenceType"] ?? ''),
      from: json["from"] ?? '',
    );