toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actionType != null) 'actionType': actionType!,
      if (condition != null) 'condition': condition!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (methodTypes != null) 'methodTypes': methodTypes!,
      if (name != null) 'name': name!,
      if (resourceTypes != null) 'resourceTypes': resourceTypes!,
    };