ListVersionsByFunctionResponse.fromJson constructor

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

Implementation

factory ListVersionsByFunctionResponse.fromJson(Map<String, dynamic> json) {
  return ListVersionsByFunctionResponse(
    nextMarker: json['NextMarker'] as String?,
    versions: (json['Versions'] as List?)
        ?.whereNotNull()
        .map((e) => FunctionConfiguration.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}