fromJson static method

JsonValueBoolean? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static JsonValueBoolean? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return JsonValueBoolean(value: (json['value'] as bool?) ?? false);
}