FunctionRegisterParameter.fromJson constructor
FunctionRegisterParameter.fromJson(
- Map<String, dynamic> json
)
Implementation
factory FunctionRegisterParameter.fromJson(Map<String, dynamic> json) => FunctionRegisterParameter(
parameterIndex: (json['ParameterIndex'] as num?)?.toInt() ?? 0,
parameterName: (json['ParameterName'] as String?) ?? '',
typeName: (json['TypeName'] as String?) ?? '',
hasDefaultValue: (json['HasDefaultValue'] as bool?) ?? false,
defaultValueJson: (json['DefaultValueJson'] as String?) ?? '',
defaultValueData: json['DefaultValueData'],
isEnumerable: (json['IsEnumerable'] as bool?) ?? false,
enumerableItemTypeName: (json['EnumerableItemTypeName'] as String?) ?? '',
description: (json['Description'] as String?) ?? '',
);