toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceptsCashOnly != null) 'acceptsCashOnly': acceptsCashOnly!,
      if (acceptsCreditCards != null)
        'acceptsCreditCards': acceptsCreditCards!,
      if (acceptsDebitCards != null) 'acceptsDebitCards': acceptsDebitCards!,
      if (acceptsNfc != null) 'acceptsNfc': acceptsNfc!,
    };