ARBItemAnnotationPlaceholder.fromJson constructor

ARBItemAnnotationPlaceholder.fromJson(
  1. ARBItemPlaceholderKey key,
  2. Map<String, dynamic> json
)

Implementation

factory ARBItemAnnotationPlaceholder.fromJson(
  ARBItemPlaceholderKey key,
  Map<String, dynamic> json,
) {
  return ARBItemAnnotationPlaceholder(
    key: key,
    type: json.lookup('type'),
    example: json.lookup('example'),
    format: json.lookup('format'),
  );
}