MemberError.fromJson constructor

MemberError.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MemberError.fromJson(Map<String, dynamic> json) {
  return MemberError(
    errorCode: (json['ErrorCode'] as String?)?.toErrorCode(),
    errorMessage: json['ErrorMessage'] as String?,
    memberId: json['MemberId'] as String?,
  );
}