Info.fromJson constructor

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

Implementation

factory Info.fromJson(Map<String, dynamic> json) {
  return Info(
    version: json['version'],
    author: json['author'],
  );
}