toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (awsRoleArn != null) 'awsRoleArn': awsRoleArn!,
  if (consumerArn != null) 'consumerArn': consumerArn!,
  if (gcpServiceAccount != null) 'gcpServiceAccount': gcpServiceAccount!,
  if (state != null) 'state': state!,
  if (streamArn != null) 'streamArn': streamArn!,
};