BatchListObjectParentPathsResponse.fromJson constructor

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

Implementation

factory BatchListObjectParentPathsResponse.fromJson(
    Map<String, dynamic> json) {
  return BatchListObjectParentPathsResponse(
    nextToken: json['NextToken'] as String?,
    pathToObjectIdentifiersList:
        (json['PathToObjectIdentifiersList'] as List?)
            ?.whereNotNull()
            .map((e) =>
                PathToObjectIdentifiers.fromJson(e as Map<String, dynamic>))
            .toList(),
  );
}