GetUserDefinedFunctionsResponse.fromJson constructor

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

Implementation

factory GetUserDefinedFunctionsResponse.fromJson(Map<String, dynamic> json) {
  return GetUserDefinedFunctionsResponse(
    nextToken: json['NextToken'] as String?,
    userDefinedFunctions: (json['UserDefinedFunctions'] as List?)
        ?.whereNotNull()
        .map((e) => UserDefinedFunction.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}