toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (config != null) 'config': config!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (enablementState != null) 'enablementState': enablementState!,
      if (name != null) 'name': name!,
      if (type != null) 'type': type!,
    };