toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authorizationCodeLink != null)
        'authorizationCodeLink': authorizationCodeLink!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (enumOptions != null) 'enumOptions': enumOptions!,
      if (enumSource != null) 'enumSource': enumSource!,
      if (isAdvanced != null) 'isAdvanced': isAdvanced!,
      if (key != null) 'key': key!,
      if (locationType != null) 'locationType': locationType!,
      if (multipleSelectConfig != null)
        'multipleSelectConfig': multipleSelectConfig!,
      if (required != null) 'required': required!,
      if (requiredCondition != null) 'requiredCondition': requiredCondition!,
      if (roleGrant != null) 'roleGrant': roleGrant!,
      if (state != null) 'state': state!,
      if (validationRegex != null) 'validationRegex': validationRegex!,
      if (valueType != null) 'valueType': valueType!,
    };