SubmitLivenesModel.fromMap constructor

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

Implementation

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