DescribeSMBFileSharesOutput.fromJson constructor

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

Implementation

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