fromMap static method
Implementation
static InvoiceLineRead? fromMap(Object? body) {
final source = readRecord(body, envelopeKey: 'invoice');
if (source == null) return null;
return InvoiceLineRead(
object: readText(source['object']),
line: InvoiceLine.fromMap(source['line']),
);
}