GetRelationalDatabaseLogStreamsResult.fromJson constructor

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

Implementation

factory GetRelationalDatabaseLogStreamsResult.fromJson(
    Map<String, dynamic> json) {
  return GetRelationalDatabaseLogStreamsResult(
    logStreams: (json['logStreams'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}