LivingArea.fromJson constructor

LivingArea.fromJson(
  1. Map json_
)

Implementation

LivingArea.fromJson(core.Map json_)
    : this(
        accessibility: json_.containsKey('accessibility')
            ? LivingAreaAccessibility.fromJson(
                json_['accessibility'] as core.Map<core.String, core.dynamic>)
            : null,
        eating: json_.containsKey('eating')
            ? LivingAreaEating.fromJson(
                json_['eating'] as core.Map<core.String, core.dynamic>)
            : null,
        features: json_.containsKey('features')
            ? LivingAreaFeatures.fromJson(
                json_['features'] as core.Map<core.String, core.dynamic>)
            : null,
        layout: json_.containsKey('layout')
            ? LivingAreaLayout.fromJson(
                json_['layout'] as core.Map<core.String, core.dynamic>)
            : null,
        sleeping: json_.containsKey('sleeping')
            ? LivingAreaSleeping.fromJson(
                json_['sleeping'] as core.Map<core.String, core.dynamic>)
            : null,
      );