toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createdAt != null) 'createdAt': createdAt!,
      if (environment != null) 'environment': environment!,
      if (environmentGroupId != null)
        'environmentGroupId': environmentGroupId!,
      if (name != null) 'name': name!,
    };