UserStackAssociationError.fromJson constructor

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

Implementation

factory UserStackAssociationError.fromJson(Map<String, dynamic> json) {
  return UserStackAssociationError(
    errorCode:
        (json['ErrorCode'] as String?)?.toUserStackAssociationErrorCode(),
    errorMessage: json['ErrorMessage'] as String?,
    userStackAssociation: json['UserStackAssociation'] != null
        ? UserStackAssociation.fromJson(
            json['UserStackAssociation'] as Map<String, dynamic>)
        : null,
  );
}