GetFunctionResponse.fromJson constructor

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

Implementation

factory GetFunctionResponse.fromJson(Map<String, dynamic> json) {
  return GetFunctionResponse(
    code: json['Code'] != null
        ? FunctionCodeLocation.fromJson(json['Code'] as Map<String, dynamic>)
        : null,
    configuration: json['Configuration'] != null
        ? FunctionConfiguration.fromJson(
            json['Configuration'] as Map<String, dynamic>)
        : null,
  );
}