toJson method
Implementation
Map<String, dynamic> toJson() {
final roleArn = this.roleArn;
final streamName = this.streamName;
final streamingStatus = this.streamingStatus;
return {
if (roleArn != null) 'RoleArn': roleArn,
if (streamName != null) 'StreamName': streamName,
if (streamingStatus != null) 'StreamingStatus': streamingStatus.toValue(),
};
}