toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (defaultValue != null) 'defaultValue': defaultValue!,
      if (displayName != null) 'displayName': displayName!,
      if (entityTypeDisplayName != null)
        'entityTypeDisplayName': entityTypeDisplayName!,
      if (isList != null) 'isList': isList!,
      if (mandatory != null) 'mandatory': mandatory!,
      if (name != null) 'name': name!,
      if (prompts != null) 'prompts': prompts!,
      if (value != null) 'value': value!,
    };