RDSMetadata.fromJson constructor
RDSMetadata.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RDSMetadata.fromJson(Map<String, dynamic> json) {
return RDSMetadata(
dataPipelineId: json['DataPipelineId'] as String?,
database: json['Database'] != null
? RDSDatabase.fromJson(json['Database'] as Map<String, dynamic>)
: null,
databaseUserName: json['DatabaseUserName'] as String?,
resourceRole: json['ResourceRole'] as String?,
selectSqlQuery: json['SelectSqlQuery'] as String?,
serviceRole: json['ServiceRole'] as String?,
);
}