SourceDescription.fromJson constructor

SourceDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SourceDescription.fromJson(Map<String, dynamic> json) {
  return SourceDescription(
    kinesisStreamSourceDescription: json['KinesisStreamSourceDescription'] !=
            null
        ? KinesisStreamSourceDescription.fromJson(
            json['KinesisStreamSourceDescription'] as Map<String, dynamic>)
        : null,
  );
}