Example.fromJson constructor

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

Implementation

factory Example.fromJson(Map<String, dynamic> json) {
  return Example(
    input: decode(json['input'], Message.fromJson),
    output: decode(json['output'], Message.fromJson),
  );
}