toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bootstrapServer != null) 'bootstrapServer': bootstrapServer!,
      if (clusterId != null) 'clusterId': clusterId!,
      if (gcpServiceAccount != null) 'gcpServiceAccount': gcpServiceAccount!,
      if (identityPoolId != null) 'identityPoolId': identityPoolId!,
      if (state != null) 'state': state!,
      if (topic != null) 'topic': topic!,
    };