KeyNameIdData.fromJson constructor
Creates an instance of KeyNameIdData from a JSON map.
Implementation
factory KeyNameIdData.fromJson(Map<String, dynamic> json) => KeyNameIdData(
key: Key.fromJson(json['key']),
name: json['name'] is String ? json['name'] : null,
id: json['id'],
);