toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      if (state != null) 'state': state!,
      if (subscription != null) 'subscription': subscription!,
      if (topic != null) 'topic': topic!,
    };