toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deprecated != null) 'deprecated': deprecated!,
      if (displayName != null) 'displayName': displayName!,
      if (groupDisplayName != null) 'groupDisplayName': groupDisplayName!,
      if (parent != null) 'parent': parent!,
      if (repeatable != null) 'repeatable': repeatable!,
      if (valueMetadata != null) 'valueMetadata': valueMetadata!,
      if (valueType != null) 'valueType': valueType!,
    };