fromJson method

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

Implementation

NUIMiniProgramFile fromJson(Map<String, dynamic> json){
  return NUIMiniProgramFile(
    filename: json["filename"],
    bytesString: json["bytes"],
    extensions: List<String>.from(json["extensions"] ?? [])
  );
}