MemberAccountStatus.fromJson constructor

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

Implementation

factory MemberAccountStatus.fromJson(Map<String, dynamic> json) {
  return MemberAccountStatus(
    accountId: json['AccountId'] as String,
    configRuleName: json['ConfigRuleName'] as String,
    memberAccountRuleStatus: (json['MemberAccountRuleStatus'] as String)
        .toMemberAccountRuleStatus(),
    errorCode: json['ErrorCode'] as String?,
    errorMessage: json['ErrorMessage'] as String?,
    lastUpdateTime: timeStampFromJson(json['LastUpdateTime']),
  );
}