DocumentParameter.fromJson constructor

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

Implementation

factory DocumentParameter.fromJson(Map<String, dynamic> json) {
  return DocumentParameter(
    defaultValue: json['DefaultValue'] as String?,
    description: json['Description'] as String?,
    name: json['Name'] as String?,
    type: (json['Type'] as String?)?.toDocumentParameterType(),
  );
}