DocumentationPartLocation.fromJson constructor

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

Implementation

factory DocumentationPartLocation.fromJson(Map<String, dynamic> json) {
  return DocumentationPartLocation(
    type: (json['type'] as String).toDocumentationPartType(),
    method: json['method'] as String?,
    name: json['name'] as String?,
    path: json['path'] as String?,
    statusCode: json['statusCode'] as String?,
  );
}