CreateFunctionRequest.fromJson constructor
CreateFunctionRequest.fromJson(
- Object? j
Implementation
factory CreateFunctionRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CreateFunctionRequest(
parent: switch (json['parent']) {
null => '',
Object $1 => decodeString($1),
},
function: switch (json['function']) {
null => null,
Object $1 => Function$.fromJson($1),
},
functionId: switch (json['functionId']) {
null => '',
Object $1 => decodeString($1),
},
);
}