PrismaConfig.fromJson constructor

PrismaConfig.fromJson(
  1. Map json_
)

Implementation

PrismaConfig.fromJson(core.Map json_)
    : this(
        prismaCpeCode: json_.containsKey('prismaCpeCode')
            ? PrismaCpeCode.fromJson(
                json_['prismaCpeCode'] as core.Map<core.String, core.dynamic>)
            : null,
        prismaType: json_.containsKey('prismaType')
            ? json_['prismaType'] as core.String
            : null,
        supplier: json_.containsKey('supplier')
            ? json_['supplier'] as core.String
            : null,
      );