ClassTemplateInfo.fromJson constructor

ClassTemplateInfo.fromJson(
  1. Map json_
)

Implementation

ClassTemplateInfo.fromJson(core.Map json_)
    : this(
        cardBarcodeSectionDetails:
            json_.containsKey('cardBarcodeSectionDetails')
                ? CardBarcodeSectionDetails.fromJson(
                    json_['cardBarcodeSectionDetails']
                        as core.Map<core.String, core.dynamic>)
                : null,
        cardTemplateOverride: json_.containsKey('cardTemplateOverride')
            ? CardTemplateOverride.fromJson(json_['cardTemplateOverride']
                as core.Map<core.String, core.dynamic>)
            : null,
        detailsTemplateOverride: json_.containsKey('detailsTemplateOverride')
            ? DetailsTemplateOverride.fromJson(
                json_['detailsTemplateOverride']
                    as core.Map<core.String, core.dynamic>)
            : null,
        listTemplateOverride: json_.containsKey('listTemplateOverride')
            ? ListTemplateOverride.fromJson(json_['listTemplateOverride']
                as core.Map<core.String, core.dynamic>)
            : null,
      );