TermsAndConditions.fromJson constructor

TermsAndConditions.fromJson(
  1. Map json_
)

Implementation

TermsAndConditions.fromJson(core.Map json_)
  : this(
      content:
          json_.containsKey('content')
              ? UserFacingMessage.fromJson(
                json_['content'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      header:
          json_.containsKey('header')
              ? UserFacingMessage.fromJson(
                json_['header'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );