SubmitLivelinessModel.fromMap constructor

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

Implementation

factory SubmitLivelinessModel.fromMap(Map<String, dynamic> map) {
  return SubmitLivelinessModel(
    msg: map['msg'] ?? '',
    token: map['token'] ?? '',
    isSuccess: map['isSuccess'] ?? false,
  );
}