fromJson static method

Account fromJson(
  1. Map json
)

Implementation

static Account fromJson(Map json) => Account(
  id: json['id'] as String? ?? '',
  name: json['name'] as String,
  type: json['type'] as String,
);